package com.bestcem.xm.award.controller.param.redpacket;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * 红包抽奖 外层 param
 *
 * @author ympan <yuming.pan@idiaoyan.com>
 * @version v3.0
 * @date 2021/8/20 9:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DrawRedPacketReceiveParam {

    /**
     * 红包抽奖 info param
     */
    @NotNull
    private Map<String,Object> info;

    /**
     * sig
     */
    @NotBlank(message = "sig不能为空")
    private String sig;

}
    